package models

type GEntity struct {
	ID       uint   `gorm:"column:id" json:"id"`
	Topic    string `gorm:"column:topic" json:"topic"`
	Label    string `gorm:"column:label" json:"label"`
	Detail   string `gorm:"column:detail" json:"detail"`
	Addition string `gorm:"column:addition" json:"addition"`
}

func (GEntity) TableName() string {
	return "generic_entity"
}
